// samsting : this file is auto create.

#include "Ram/2015-05-01/GetPolicyResponse.h"

namespace aliyun { namespace Ram {

GetPolicyResponse::GetPolicyResponse() {
}

const string& GetPolicyResponse::Policy::GetPolicyName(void) const {
  return PolicyName_;
}

const string& GetPolicyResponse::Policy::GetPolicyType(void) const {
  return PolicyType_;
}

const string& GetPolicyResponse::Policy::GetDescription(void) const {
  return Description_;
}

const string& GetPolicyResponse::Policy::GetDefaultVersion(void) const {
  return DefaultVersion_;
}

const string& GetPolicyResponse::Policy::GetPolicyDocument(void) const {
  return PolicyDocument_;
}

const string& GetPolicyResponse::Policy::GetCreateDate(void) const {
  return CreateDate_;
}

const string& GetPolicyResponse::Policy::GetUpdateDate(void) const {
  return UpdateDate_;
}

int GetPolicyResponse::Policy::GetAttachmentCount(void) const {
  return AttachmentCount_;
}

const GetPolicyResponse::Policy& GetPolicyResponse::GetPolicy(void) const {
  return Policy_;
}

const char* GetPolicyResponse::BaseKey(void) {
  return "GetPolicyResponse";
}

void GetPolicyResponse::UnmarshallerMap(std::map<string, string>& response_map) {
    UnmarshallerString(Policy_.PolicyName_, response_map, "GetPolicyResponse.Policy.PolicyName");
    UnmarshallerString(Policy_.PolicyType_, response_map, "GetPolicyResponse.Policy.PolicyType");
    UnmarshallerString(Policy_.Description_, response_map, "GetPolicyResponse.Policy.Description");
    UnmarshallerString(Policy_.DefaultVersion_, response_map, "GetPolicyResponse.Policy.DefaultVersion");
    UnmarshallerString(Policy_.PolicyDocument_, response_map, "GetPolicyResponse.Policy.PolicyDocument");
    UnmarshallerString(Policy_.CreateDate_, response_map, "GetPolicyResponse.Policy.CreateDate");
    UnmarshallerString(Policy_.UpdateDate_, response_map, "GetPolicyResponse.Policy.UpdateDate");
    UnmarshallerInt(Policy_.AttachmentCount_, response_map, "GetPolicyResponse.Policy.AttachmentCount");
}


} } // namespace aliyun { namespace Ram {

// end of file 
